package com.xinyan.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.xingshuangs.iot.common.enums.EDataType;
import com.github.xingshuangs.iot.protocol.s7.serializer.S7Variable;
import lombok.Data;

import java.io.Serializable;

@Data
public class ListPageParam implements Serializable {

    @JsonProperty("handOpen")
    @S7Variable(address = "m3.2", type = EDataType.BOOL)
    private boolean m32;
    /**
     * 自动模式
     */
    @JsonProperty("autoOpen")
    @S7Variable(address = "m3.3", type = EDataType.BOOL)
    private boolean m33;

    /**
     * 设置频率写入地址
     */
    @S7Variable(address = "vd150", type = EDataType.FLOAT32)
    private float frequency;
}
